package com.maserb.monitor.service.JwReport.impl;

import com.maserb.monitor.entity.JwReport.JwReportHistoryEntity;
import com.maserb.monitor.repository.JwVisitReport.JwReportHistoryRepository;
import com.maserb.monitor.service.JwReport.JwReportHistoryService;
import com.maserb.monitor.service.base.impl.JpaSpecificationServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JwReportHistoryServiceImpl extends JpaSpecificationServiceImpl<JwReportHistoryRepository,
        JwReportHistoryRepository, JwReportHistoryEntity, String>
        implements JwReportHistoryService {

    @Override
    public List<JwReportHistoryEntity> findAllByUuid(String uuid) {
        return this.repository.findByUuid(uuid);
    }
}